[INFO] fetching crate libraft 0.1.1...
[INFO] building libraft-0.1.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate libraft 0.1.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate libraft 0.1.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libraft 0.1.1
[INFO] finished tweaking crates.io crate libraft 0.1.1
[INFO] tweaked toml for crates.io crate libraft 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protobuf v1.7.5
[INFO] [stderr]   Downloaded rand v0.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d75bd41f25763878845bf334ed29a858f1457ea87b4feba80679e315e51573db
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d75bd41f25763878845bf334ed29a858f1457ea87b4feba80679e315e51573db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d75bd41f25763878845bf334ed29a858f1457ea87b4feba80679e315e51573db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d75bd41f25763878845bf334ed29a858f1457ea87b4feba80679e315e51573db", kill_on_drop: false }`
[INFO] [stdout] d75bd41f25763878845bf334ed29a858f1457ea87b4feba80679e315e51573db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f16255fbb21ec751021c668a8951efaf1e3cc9cf5507d6d2738c6a0546f8723
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0f16255fbb21ec751021c668a8951efaf1e3cc9cf5507d6d2738c6a0546f8723", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling protobuf v1.7.5
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling libraft v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:248:38
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:249:22
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:251:55
[INFO] [stdout]     |
[INFO] [stdout] 251 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:528:26
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:529:18
[INFO] [stdout]     |
[INFO] [stdout] 529 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:531:38
[INFO] [stdout]     |
[INFO] [stdout] 531 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:532:22
[INFO] [stdout]     |
[INFO] [stdout] 532 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:534:55
[INFO] [stdout]     |
[INFO] [stdout] 534 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:775:26
[INFO] [stdout]     |
[INFO] [stdout] 775 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:776:18
[INFO] [stdout]     |
[INFO] [stdout] 776 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:778:38
[INFO] [stdout]     |
[INFO] [stdout] 778 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:779:22
[INFO] [stdout]     |
[INFO] [stdout] 779 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:781:55
[INFO] [stdout]     |
[INFO] [stdout] 781 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:999:26
[INFO] [stdout]     |
[INFO] [stdout] 999 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1000:18
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1002:38
[INFO] [stdout]      |
[INFO] [stdout] 1002 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1003:22
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1005:55
[INFO] [stdout]      |
[INFO] [stdout] 1005 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1248:26
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1249:18
[INFO] [stdout]      |
[INFO] [stdout] 1249 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1251:38
[INFO] [stdout]      |
[INFO] [stdout] 1251 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1252:22
[INFO] [stdout]      |
[INFO] [stdout] 1252 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1254:55
[INFO] [stdout]      |
[INFO] [stdout] 1254 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1875:26
[INFO] [stdout]      |
[INFO] [stdout] 1875 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1876:18
[INFO] [stdout]      |
[INFO] [stdout] 1876 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1878:38
[INFO] [stdout]      |
[INFO] [stdout] 1878 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1879:22
[INFO] [stdout]      |
[INFO] [stdout] 1879 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1881:55
[INFO] [stdout]      |
[INFO] [stdout] 1881 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2224:26
[INFO] [stdout]      |
[INFO] [stdout] 2224 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2225:18
[INFO] [stdout]      |
[INFO] [stdout] 2225 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2227:38
[INFO] [stdout]      |
[INFO] [stdout] 2227 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2228:22
[INFO] [stdout]      |
[INFO] [stdout] 2228 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2230:55
[INFO] [stdout]      |
[INFO] [stdout] 2230 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1257:17
[INFO] [stdout]      |
[INFO] [stdout] 1257 |                 if let Some(mut m) = more_to_send {
[INFO] [stdout]      |                             ----^
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1864:22
[INFO] [stdout]      |
[INFO] [stdout] 1864 |             let (mut matched, mut next) = (0, self.raft_log.last_index() + 1);
[INFO] [stdout]      |                               ----^^^^
[INFO] [stdout]      |                               |
[INFO] [stdout]      |                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft.rs:835:23
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!(e),
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/raft.rs:1734:13
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!(e)
[INFO] [stdout]      |                            ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!("{}", e)
[INFO] [stdout]      |                            ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     std::panic::panic_any(e)
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/raft_log.rs:63:32
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!(err),
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!("{}", err),
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => std::panic::panic_any(err),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:216:33
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!(e),
[INFO] [stdout]     |                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!("{}", e),
[INFO] [stdout]     |                                 ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => std::panic::panic_any(e),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:374:29
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!(err),
[INFO] [stdout]     |                             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!("{}", err),
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => std::panic::panic_any(err),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1660:3
[INFO] [stdout]      |
[INFO] [stdout] 1660 |         mem::replace(&mut self.prs, prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1672:3
[INFO] [stdout]      |
[INFO] [stdout] 1672 |         mem::replace(&mut self.learner_prs, learner_prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:340:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.96s
[INFO] running `Command { std: "docker" "inspect" "0f16255fbb21ec751021c668a8951efaf1e3cc9cf5507d6d2738c6a0546f8723", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f16255fbb21ec751021c668a8951efaf1e3cc9cf5507d6d2738c6a0546f8723", kill_on_drop: false }`
[INFO] [stdout] 0f16255fbb21ec751021c668a8951efaf1e3cc9cf5507d6d2738c6a0546f8723
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d72fb8beaf78b0e485058190e5101ee9c4c59dca0072190da03b22dbd09e50a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5d72fb8beaf78b0e485058190e5101ee9c4c59dca0072190da03b22dbd09e50a", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:248:38
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:249:22
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:251:55
[INFO] [stdout]     |
[INFO] [stdout] 251 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:528:26
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:529:18
[INFO] [stdout]     |
[INFO] [stdout] 529 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:531:38
[INFO] [stdout]     |
[INFO] [stdout] 531 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:532:22
[INFO] [stdout]     |
[INFO] [stdout] 532 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:534:55
[INFO] [stdout]     |
[INFO] [stdout] 534 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:775:26
[INFO] [stdout]     |
[INFO] [stdout] 775 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:776:18
[INFO] [stdout]     |
[INFO] [stdout] 776 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:778:38
[INFO] [stdout]     |
[INFO] [stdout] 778 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:779:22
[INFO] [stdout]     |
[INFO] [stdout] 779 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:781:55
[INFO] [stdout]     |
[INFO] [stdout] 781 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:999:26
[INFO] [stdout]     |
[INFO] [stdout] 999 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1000:18
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1002:38
[INFO] [stdout]      |
[INFO] [stdout] 1002 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1003:22
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1005:55
[INFO] [stdout]      |
[INFO] [stdout] 1005 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1248:26
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1249:18
[INFO] [stdout]      |
[INFO] [stdout] 1249 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1251:38
[INFO] [stdout]      |
[INFO] [stdout] 1251 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1252:22
[INFO] [stdout]      |
[INFO] [stdout] 1252 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1254:55
[INFO] [stdout]      |
[INFO] [stdout] 1254 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1875:26
[INFO] [stdout]      |
[INFO] [stdout] 1875 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1876:18
[INFO] [stdout]      |
[INFO] [stdout] 1876 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1878:38
[INFO] [stdout]      |
[INFO] [stdout] 1878 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1879:22
[INFO] [stdout]      |
[INFO] [stdout] 1879 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1881:55
[INFO] [stdout]      |
[INFO] [stdout] 1881 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2224:26
[INFO] [stdout]      |
[INFO] [stdout] 2224 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2225:18
[INFO] [stdout]      |
[INFO] [stdout] 2225 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2227:38
[INFO] [stdout]      |
[INFO] [stdout] 2227 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2228:22
[INFO] [stdout]      |
[INFO] [stdout] 2228 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2230:55
[INFO] [stdout]      |
[INFO] [stdout] 2230 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1257:17
[INFO] [stdout]      |
[INFO] [stdout] 1257 |                 if let Some(mut m) = more_to_send {
[INFO] [stdout]      |                             ----^
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1864:22
[INFO] [stdout]      |
[INFO] [stdout] 1864 |             let (mut matched, mut next) = (0, self.raft_log.last_index() + 1);
[INFO] [stdout]      |                               ----^^^^
[INFO] [stdout]      |                               |
[INFO] [stdout]      |                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft.rs:835:23
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!(e),
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/raft.rs:1734:13
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!(e)
[INFO] [stdout]      |                            ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!("{}", e)
[INFO] [stdout]      |                            ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     std::panic::panic_any(e)
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/raft_log.rs:63:32
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!(err),
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!("{}", err),
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => std::panic::panic_any(err),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:216:33
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!(e),
[INFO] [stdout]     |                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!("{}", e),
[INFO] [stdout]     |                                 ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => std::panic::panic_any(e),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:374:29
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!(err),
[INFO] [stdout]     |                             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!("{}", err),
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => std::panic::panic_any(err),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1660:3
[INFO] [stdout]      |
[INFO] [stdout] 1660 |         mem::replace(&mut self.prs, prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1672:3
[INFO] [stdout]      |
[INFO] [stdout] 1672 |         mem::replace(&mut self.learner_prs, learner_prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling libraft v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:340:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> tests/cases/test_raft.rs:2202:9
[INFO] [stdout]      |
[INFO] [stdout] 2202 |     )]);;
[INFO] [stdout]      |         ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> tests/cases/test_raft.rs:2208:9
[INFO] [stdout]      |
[INFO] [stdout] 2208 |     )]);;
[INFO] [stdout]      |         ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> tests/cases/test_raft.rs:2214:9
[INFO] [stdout]      |
[INFO] [stdout] 2214 |     )]);;
[INFO] [stdout]      |         ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Storage`
[INFO] [stdout]  --> tests/cases/test_raft_flow_control.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libraft::storage::{MemStorage, Storage};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/errors.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Other(err: Box<error::Error + Sync + Send>) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Sync + Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:248:38
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:249:22
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:251:55
[INFO] [stdout]     |
[INFO] [stdout] 251 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:528:26
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:529:18
[INFO] [stdout]     |
[INFO] [stdout] 529 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:531:38
[INFO] [stdout]     |
[INFO] [stdout] 531 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:532:22
[INFO] [stdout]     |
[INFO] [stdout] 532 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:534:55
[INFO] [stdout]     |
[INFO] [stdout] 534 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:775:26
[INFO] [stdout]     |
[INFO] [stdout] 775 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:776:18
[INFO] [stdout]     |
[INFO] [stdout] 776 |         self as &::std::any::Any
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:778:38
[INFO] [stdout]     |
[INFO] [stdout] 778 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:779:22
[INFO] [stdout]     |
[INFO] [stdout] 779 |         self as &mut ::std::any::Any
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:781:55
[INFO] [stdout]     |
[INFO] [stdout] 781 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/raftpb.rs:999:26
[INFO] [stdout]     |
[INFO] [stdout] 999 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1000:18
[INFO] [stdout]      |
[INFO] [stdout] 1000 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1002:38
[INFO] [stdout]      |
[INFO] [stdout] 1002 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1003:22
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1005:55
[INFO] [stdout]      |
[INFO] [stdout] 1005 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1248:26
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1249:18
[INFO] [stdout]      |
[INFO] [stdout] 1249 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1251:38
[INFO] [stdout]      |
[INFO] [stdout] 1251 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1252:22
[INFO] [stdout]      |
[INFO] [stdout] 1252 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1254:55
[INFO] [stdout]      |
[INFO] [stdout] 1254 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1875:26
[INFO] [stdout]      |
[INFO] [stdout] 1875 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1876:18
[INFO] [stdout]      |
[INFO] [stdout] 1876 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1878:38
[INFO] [stdout]      |
[INFO] [stdout] 1878 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1879:22
[INFO] [stdout]      |
[INFO] [stdout] 1879 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:1881:55
[INFO] [stdout]      |
[INFO] [stdout] 1881 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2224:26
[INFO] [stdout]      |
[INFO] [stdout] 2224 |     fn as_any(&self) -> &::std::any::Any {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2225:18
[INFO] [stdout]      |
[INFO] [stdout] 2225 |         self as &::std::any::Any
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2227:38
[INFO] [stdout]      |
[INFO] [stdout] 2227 |     fn as_any_mut(&mut self) -> &mut ::std::any::Any {
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2228:22
[INFO] [stdout]      |
[INFO] [stdout] 2228 |         self as &mut ::std::any::Any
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/raftpb.rs:2230:55
[INFO] [stdout]      |
[INFO] [stdout] 2230 |     fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::any::Any)`
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]      = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Storage`
[INFO] [stdout]  --> tests/cases/test_raft_snap.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libraft::storage::{MemStorage, Storage};
[INFO] [stdout]   |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last_index` is never read
[INFO] [stdout]   --> tests/cases/test_raw_node.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut last_index = 0;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/cases/test_raft.rs:493:13
[INFO] [stdout]     |
[INFO] [stdout] 493 |         let mut p = Progress {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> tests/cases/test_raft.rs:1583:10
[INFO] [stdout]      |
[INFO] [stdout] 1583 |     for (mut m, wcommit) in tests {
[INFO] [stdout]      |          ----^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1257:17
[INFO] [stdout]      |
[INFO] [stdout] 1257 |                 if let Some(mut m) = more_to_send {
[INFO] [stdout]      |                             ----^
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> tests/cases/test_raft.rs:2277:13
[INFO] [stdout]      |
[INFO] [stdout] 2277 |         let mut m = new_message_with_entries(
[INFO] [stdout]      |             ----^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> tests/cases/test_raft.rs:2344:13
[INFO] [stdout]      |
[INFO] [stdout] 2344 |         let mut m = new_message_with_entries(
[INFO] [stdout]      |             ----^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/raft.rs:1864:22
[INFO] [stdout]      |
[INFO] [stdout] 1864 |             let (mut matched, mut next) = (0, self.raft_log.last_index() + 1);
[INFO] [stdout]      |                               ----^^^^
[INFO] [stdout]      |                               |
[INFO] [stdout]      |                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> tests/cases/test_raft.rs:2763:13
[INFO] [stdout]      |
[INFO] [stdout] 2763 |         let mut r = new_test_raft(id, peers, 5, 1, MemStorage::new());
[INFO] [stdout]      |             ----^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> tests/cases/test_raft.rs:2776:13
[INFO] [stdout]      |
[INFO] [stdout] 2776 |         let mut r = new_test_raft(1, ids, 10, 1, MemStorage::new());
[INFO] [stdout]      |             ----^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/cases/test_raft_paper.rs:581:13
[INFO] [stdout]     |
[INFO] [stdout] 581 |         let mut ents = vec![e];
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/cases/test_raft_paper.rs:590:13
[INFO] [stdout]     |
[INFO] [stdout] 590 |         let mut msgs: Vec<Message> = r.msgs.drain(..).collect();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/cases/test_raft_paper.rs:996:13
[INFO] [stdout]     |
[INFO] [stdout] 996 |         let mut msgs: Vec<Message> = r.msgs.drain(..).collect();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:526:5
[INFO] [stdout]     |
[INFO] [stdout] 526 |     r.step(new_message(1, 1, MessageType::MsgHeartbeat)).is_ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:529:5
[INFO] [stdout]     |
[INFO] [stdout] 529 | /     r.step(new_message(2, 1, MessageType::MsgHeartbeatResp))
[INFO] [stdout] 530 | |         .is_ok();
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:547:5
[INFO] [stdout]     |
[INFO] [stdout] 547 |     r.step(m.clone()).is_ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:548:5
[INFO] [stdout]     |
[INFO] [stdout] 548 |     r.step(m.clone()).is_ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:549:5
[INFO] [stdout]     |
[INFO] [stdout] 549 |     r.step(m).is_ok();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> tests/cases/test_raft.rs:721:9
[INFO] [stdout]     |
[INFO] [stdout] 721 |         storage.append(&vec![e]).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft.rs:835:23
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!(e),
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 835 |                     Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/raft.rs:1734:13
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!(e)
[INFO] [stdout]      |                            ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     panic!("{}", e)
[INFO] [stdout]      |                            ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]      |
[INFO] [stdout] 1734 |                     std::panic::panic_any(e)
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/raft_log.rs:63:32
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!(err),
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => panic!("{}", err),
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Err(err) => std::panic::panic_any(err),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:216:33
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!(e),
[INFO] [stdout]     |                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => panic!("{}", e),
[INFO] [stdout]     |                                 ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     _ => std::panic::panic_any(e),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:374:29
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!(err),
[INFO] [stdout]     |                             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => panic!("{}", err),
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 374 |                 _ => std::panic::panic_any(err),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:507:34
[INFO] [stdout]     |
[INFO] [stdout] 507 |                 Err(e) => panic!(e),
[INFO] [stdout]     |                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 507 |                 Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 507 |                 Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:635:38
[INFO] [stdout]     |
[INFO] [stdout] 635 |                     Err(e) => panic!(e),
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 635 |                     Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 635 |                     Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:680:30
[INFO] [stdout]     |
[INFO] [stdout] 680 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 680 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 680 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:748:34
[INFO] [stdout]     |
[INFO] [stdout] 748 |                 Err(e) => panic!(e),
[INFO] [stdout]     |                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 748 |                 Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 748 |                 Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/raft_log.rs:774:34
[INFO] [stdout]     |
[INFO] [stdout] 774 |                 Err(e) => panic!(e),
[INFO] [stdout]     |                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 774 |                 Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 774 |                 Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:488:34
[INFO] [stdout]     |
[INFO] [stdout] 488 |                 Err(e) => panic!(e),
[INFO] [stdout]     |                                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 488 |                 Err(e) => panic!("{}", e),
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 488 |                 Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:500:30
[INFO] [stdout]     |
[INFO] [stdout] 500 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 500 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 500 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:506:30
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:517:30
[INFO] [stdout]     |
[INFO] [stdout] 517 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 517 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 517 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:523:30
[INFO] [stdout]     |
[INFO] [stdout] 523 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 523 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 523 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/storage.rs:560:30
[INFO] [stdout]     |
[INFO] [stdout] 560 |             Err(e) => panic!(e),
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 560 |             Err(e) => panic!("{}", e),
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 560 |             Err(e) => std::panic::panic_any(e),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1660:3
[INFO] [stdout]      |
[INFO] [stdout] 1660 |         mem::replace(&mut self.prs, prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/raft.rs:1672:3
[INFO] [stdout]      |
[INFO] [stdout] 1672 |         mem::replace(&mut self.learner_prs, learner_prs);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::result::Result::<T, E>::is_ok` that must be used
[INFO] [stdout]    --> src/raw_node.rs:340:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         self.raft.step(m).is_ok();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to assert that this is ok, consider `.unwrap()` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 59 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.42s
[INFO] running `Command { std: "docker" "inspect" "5d72fb8beaf78b0e485058190e5101ee9c4c59dca0072190da03b22dbd09e50a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d72fb8beaf78b0e485058190e5101ee9c4c59dca0072190da03b22dbd09e50a", kill_on_drop: false }`
[INFO] [stdout] 5d72fb8beaf78b0e485058190e5101ee9c4c59dca0072190da03b22dbd09e50a
